package com.qf.j2105.service.impl;



import com.qf.j2105.mapper.GzesbdMapper;
import com.qf.j2105.po.CarCollect;
import com.qf.j2105.service.GzesbdService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class GzbdServiceimpl implements GzesbdService {
    @Resource
    GzesbdMapper gzesbdMapper;
    @Override
    public List<CarCollect> findallGzesbd() {
        List<CarCollect> carCollects = gzesbdMapper.selectALL();

        return carCollects;
    }

    @Override
    public List<CarCollect> findallSUV() {
        List<CarCollect> carCollects1 = gzesbdMapper.selectSuv();
        return carCollects1;
    }

    @Override
    public List<CarCollect> findallMVP() {
        List<CarCollect> carCollects2 = gzesbdMapper.selectMvp();
        return carCollects2;
    }

    @Override
    public List<CarCollect> findallWYC() {
        List<CarCollect> carCollects3 = gzesbdMapper.selectWyc();

        return carCollects3;
    }
}
